{include 'admin/layout/header_list'}
<link rel="stylesheet" href="__ADMIN_STATIC__/css/pop_window.css?random={extendSetting('random')}">
<div class="reset-title"><span>插件设置</span></div>
<div class="pop3">
    <div class="pop3Title">
        <img src="__ADMIN_STATIC__/img/警告.png" alt="">
        <p>安装[<span>{if isset($rowData['name'])}{$rowData['name']}{/if}</span>]插件，是否继续?</p>
    </div>
    <div class="msg">
        <p>最新版本：<span class="version">磁盘管理挂载工具v1.0</span></p>
        <p>文件大小：<span class="size">{if isset($rowData['fileSizeFormat'])}{$rowData['fileSizeFormat']}{/if}</span></p>
    </div>
    <article class="intro1">
        <p>插件详情：</p>
        <span class="introContent">{if isset($rowData['desc'])}{$rowData['desc']}{/if}</span>
        <!--<p>更新内容：</p>-->
        <!--<span class="updateContent"></span>-->
        <!--<div class="history" onclick="pop4('../html/pop3His.html', '500px', '400px')">历史版本</div>-->
    </article>
    <ul class="help-info">
        <li>插件来源[LTCMS]，网址<a href="https://www.ltcms.com" target="_blank">https://www.ltcms.com</a></li>
        <li>如果已存在此插件，文件将被替换</li>
        <li>安装过程可能需要几分钟时间，请耐心等候！</li>
    </ul>
</div>
<div class="pop3-button">
    <button id="cancel">取消</button>
    <button id="submit" onclick="next(this)" data-href="{LTCMS_ROUTE_PREFIX}/plugin/download?pluginId={$rowData['id']}&goodId={$request['goodId']}" >安装插件</button>
</div>
<script>
    $("#cancel").click(function() {
        var parent = window.parent.$(window.parent.document);
        parent.find(".ltcms-edit").remove();
    });
    function next(obj){
        var href=$(obj).data("href");
        window.location.href=href;
    }
</script>
{include 'admin/layout/footer'}